sub infix:«<=>»

Documentation for sub infix:«<=>» assembled from the following types:

class DateTime

From DateTime

(DateTime) sub infix:«<=>»

multi sub infix:«<=>»(DateTime:D \aDateTime:D \b --> Order:D)

Compares the equivalent instant, returns the Order.

say DateTime.now <=> DateTime.now# OUTPUT: «Less␤»